using Newtonsoft.Json;
using Org.BouncyCastle.Crypto;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    [SugarTable("MaterialCheckPlanChangeHeader")]
    public class MaterialCheckPlanChangeHeader : BaseHead
    {
        /// <summary>
        /// 是否同步
        /// </summary>
        public bool? IsSync { get; set; }

        /// <summary>
        /// 同步结果
        /// </summary>
        public string SyncResult { get; set; }

        /// <summary>
        /// 是否同步成功
        /// </summary>
        public bool? SyncSuccess { get; set; }

        /// <summary>
        /// 最后一次同步时间
        /// </summary>
        public DateTime? SyncTime { get; set; }

        /// <summary>
        /// 模式 1 单个模式 2 批量模式
        /// </summary>
        public string Mode { get; set; }

        /// <summary>
        /// 相关附件说明
        /// </summary>
        public string FileRemark { get; set; }

        /// <summary>
        /// 行数据
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public List<MaterialCheckPlanChangeDetail> LineData { get; set; }
    }
}
